package com.hbnu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

//商品实体类
@Data
@Accessors(chain = true)
@TableName("tb_item")

public class Item extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Long id;
    private String title;
    @TableField("sell_point")
    private String sellPoint;
    private Long price;
    private Integer num;
    private String barcode;
    private String image;
    private Long cid;
    private Integer status;

}

